package com.tarena.luban.worker.server.domain.service.impl;

import com.tarena.luban.worker.server.domain.bo.TestWorkerBO;
import com.tarena.luban.worker.server.domain.repository.TestWorkerRepository;
import com.tarena.luban.worker.server.domain.service.TestWorkerService;
import com.tarena.luban.worker.server.protocol.query.TestWorkerQuery;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TestWorkerServiceImpl implements TestWorkerService {

    @Autowired
    private TestWorkerRepository testWorkerRepository;

    @Override
    public TestWorkerBO testWorker(TestWorkerQuery testWorkerQuery) {
        return testWorkerRepository.testWorker(testWorkerQuery);
    }
}
